import { createProdMockServer } from "vite-plugin-mock/dist/client";
// Import your mock .ts files one by one
// If you use vite.mock.config.ts, just import the file directly
// You can use the import.meta.glob function to import all
import user from "./mock/user";

export function setupProdMockServer() {
  console.log("use mock ...");
  createProdMockServer([...user]);
}
